package com.yulongtian.offers.day202209.day20220923;

/**
 * https://leetcode.cn/problems/er-jin-zhi-zhong-1de-ge-shu-lcof/
 * @author YulongTian
 * @date 2022/9/23 - 11:26
 */
public class Test01 {
    public static void main(String[] args) {

    }
    public int hammingWeight(int n) {
        return Integer.bitCount(n);
    }


}
